package com.itheima.homework.test1;

/**
 * @author jiangxun
 * @date 11-19-2024
 */
public class Test1 {
    public static void main(String[] args) {
        GoldCard goldCard = new GoldCard("sss", 1000);
        goldCard.pay(300);

        SilverCard silverCard = new SilverCard("111", 1000);
        silverCard.pay(499);
    }
}
